home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5875 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  31 lines

  1. Newsgroups: comp.lang.c
  2. Path: racerx.micro.ti.com!brett
  3. From: brett@racerx.micro.ti.com (Brett L. Huber)
  4. Subject: Re: String Encryption
  5. Message-ID: <1996Feb21.174407.20730@newshost.micro.ti.com>
  6. Sender: news@newshost.micro.ti.com
  7. Organization: Texas Instruments, Houston
  8. X-Newsreader: TIN [version 1.2 PL2]
  9. References: <1996Feb21.101532.15110@es.dupont.com>
  10. Date: Wed, 21 Feb 1996 17:44:07 GMT
  11.  
  12. Malcolm Smart (MALCOLM.SMART@CONOCO.DUPONT.COM) wrote:
  13. > Has anybody out there got any small routines that I can apply to strings 
  14. > which will effectively encrypt them (and decrypt!).  It's not a matter of 
  15. > state security so it doesn't have to be that secure, just make it 
  16. > unreadable.  
  17.  
  18. It really depends on what level of "unreadability" you want.  Who are
  19. you protecting the data from?  If you aren't protecting a secret, try
  20. "rot13," which translates A->N, B->O, ... Z->M.
  21.  
  22. For an introduction to cryptographic techniques, try the sci.crypt FAQ:
  23. http://www.cis.ohio-state.edu/hypertext/faq/bngusenet/sci/crypt/top.html
  24.  
  25. Brett Huber
  26.  
  27. --
  28. ... Our continuing mission: To seek out knowledge of C, to explore
  29. strange UNIX commands, and to boldly code where no one has man page 4.
  30.           http://www.cs.mtu.edu/grads/Huber
  31.